//
//  SetUpNavcViewController.m
//  OA
//
//  Created by 王文晓 on 16/8/4.
//  Copyright © 2016年 王文晓. All rights reserved.
//

#import "SetUpNavcViewController.h"

@implementation SetUpNavcViewController

#pragma mark - 设置导航条
+ (void)setUpNavgationBar:(NSString *)image title:(NSString *)naTitle
{
    SetUpNavcViewController *mySelf = [[SetUpNavcViewController alloc]init];
   mySelf.navigationController.navigationBar.translucent = NO;
    
    [mySelf.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:image] forBarMetrics:UIBarMetricsDefault];
    mySelf.navigationItem.title = naTitle;
    [mySelf.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
}



@end
